<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<!-- /fasttmp/mkdist-qt-4.3.5-1211793125/qtopia-core-opensource-src-4.3.5/src/gui/graphicsview/qgraphicsitemanimation.cpp -->
<head>
  <title>Qt 4.3: QGraphicsItemAnimation Class Reference</title>
  <link href="classic.css" rel="stylesheet" type="text/css" />
</head>
<body>
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<tr>
<td align="left" valign="top" width="32"><a href="http://www.trolltech.com/products/qt"><img src="images/qt-logo.png" align="left" width="32" height="32" border="0" /></a></td>
<td width="1">&nbsp;&nbsp;</td><td class="postheader" valign="center"><a href="index.html"><font color="#004faf">Home</font></a>&nbsp;&middot; <a href="classes.html"><font color="#004faf">All&nbsp;Classes</font></a>&nbsp;&middot; <a href="mainclasses.html"><font color="#004faf">Main&nbsp;Classes</font></a>&nbsp;&middot; <a href="groups.html"><font color="#004faf">Grouped&nbsp;Classes</font></a>&nbsp;&middot; <a href="modules.html"><font color="#004faf">Modules</font></a>&nbsp;&middot; <a href="functions.html"><font color="#004faf">Functions</font></a></td>
<td align="right" valign="top" width="230"><a href="http://www.trolltech.com"><img src="images/trolltech-logo.png" align="right" width="203" height="32" border="0" /></a></td></tr></table><h1 align="center">QGraphicsItemAnimation Class Reference<br /><sup><sup>[<a href="qtgui.html">QtGui</a> module]</sup></sup></h1>
<p>The QGraphicsItemAnimation class provides simple animation support for <a href="qgraphicsitem.html">QGraphicsItem</a>. <a href="#details">More...</a></p>
<pre> #include &lt;QGraphicsItemAnimation&gt;</pre><p>Inherits <a href="qobject.html">QObject</a>.</p>
<p>This class was introduced in Qt 4.2.</p>
<ul>
<li><a href="qgraphicsitemanimation-members.html">List of all members, including inherited members</a></li>
</ul>
<a name="public-functions"></a>
<h3>Public Functions</h3>
<ul>
<li><div class="fn"/><b><a href="qgraphicsitemanimation.html#QGraphicsItemAnimation">QGraphicsItemAnimation</a></b> ( QObject * <i>parent</i> = 0 )</li>
<li><div class="fn"/>virtual <b><a href="qgraphicsitemanimation.html#dtor.QGraphicsItemAnimation">~QGraphicsItemAnimation</a></b> ()</li>
<li><div class="fn"/>void <b><a href="qgraphicsitemanimation.html#clear">clear</a></b> ()</li>
<li><div class="fn"/>qreal <b><a href="qgraphicsitemanimation.html#horizontalScaleAt">horizontalScaleAt</a></b> ( qreal <i>step</i> ) const</li>
<li><div class="fn"/>qreal <b><a href="qgraphicsitemanimation.html#horizontalShearAt">horizontalShearAt</a></b> ( qreal <i>step</i> ) const</li>
<li><div class="fn"/>QGraphicsItem * <b><a href="qgraphicsitemanimation.html#item">item</a></b> () const</li>
<li><div class="fn"/>QMatrix <b><a href="qgraphicsitemanimation.html#matrixAt">matrixAt</a></b> ( qreal <i>step</i> ) const</li>
<li><div class="fn"/>QPointF <b><a href="qgraphicsitemanimation.html#posAt">posAt</a></b> ( qreal <i>step</i> ) const</li>
<li><div class="fn"/>QList&lt;QPair&lt;qreal, QPointF&gt; &gt; <b><a href="qgraphicsitemanimation.html#posList">posList</a></b> () const</li>
<li><div class="fn"/>qreal <b><a href="qgraphicsitemanimation.html#rotationAt">rotationAt</a></b> ( qreal <i>step</i> ) const</li>
<li><div class="fn"/>QList&lt;QPair&lt;qreal, qreal&gt; &gt; <b><a href="qgraphicsitemanimation.html#rotationList">rotationList</a></b> () const</li>
<li><div class="fn"/>QList&lt;QPair&lt;qreal, QPointF&gt; &gt; <b><a href="qgraphicsitemanimation.html#scaleList">scaleList</a></b> () const</li>
<li><div class="fn"/>void <b><a href="qgraphicsitemanimation.html#setItem">setItem</a></b> ( QGraphicsItem * <i>item</i> )</li>
<li><div class="fn"/>void <b><a href="qgraphicsitemanimation.html#setPosAt">setPosAt</a></b> ( qreal <i>step</i>, const QPointF &amp; <i>point</i> )</li>
<li><div class="fn"/>void <b><a href="qgraphicsitemanimation.html#setRotationAt">setRotationAt</a></b> ( qreal <i>step</i>, qreal <i>angle</i> )</li>
<li><div class="fn"/>void <b><a href="qgraphicsitemanimation.html#setScaleAt">setScaleAt</a></b> ( qreal <i>step</i>, qreal <i>sx</i>, qreal <i>sy</i> )</li>
<li><div class="fn"/>void <b><a href="qgraphicsitemanimation.html#setShearAt">setShearAt</a></b> ( qreal <i>step</i>, qreal <i>sh</i>, qreal <i>sv</i> )</li>
<li><div class="fn"/>void <b><a href="qgraphicsitemanimation.html#setTimeLine">setTimeLine</a></b> ( QTimeLine * <i>timeLine</i> )</li>
<li><div class="fn"/>void <b><a href="qgraphicsitemanimation.html#setTranslationAt">setTranslationAt</a></b> ( qreal <i>step</i>, qreal <i>dx</i>, qreal <i>dy</i> )</li>
<li><div class="fn"/>QList&lt;QPair&lt;qreal, QPointF&gt; &gt; <b><a href="qgraphicsitemanimation.html#shearList">shearList</a></b> () const</li>
<li><div class="fn"/>QTimeLine * <b><a href="qgraphicsitemanimation.html#timeLine">timeLine</a></b> () const</li>
<li><div class="fn"/>QList&lt;QPair&lt;qreal, QPointF&gt; &gt; <b><a href="qgraphicsitemanimation.html#translationList">translationList</a></b> () const</li>
<li><div class="fn"/>qreal <b><a href="qgraphicsitemanimation.html#verticalScaleAt">verticalScaleAt</a></b> ( qreal <i>step</i> ) const</li>
<li><div class="fn"/>qreal <b><a href="qgraphicsitemanimation.html#verticalShearAt">verticalShearAt</a></b> ( qreal <i>step</i> ) const</li>
<li><div class="fn"/>qreal <b><a href="qgraphicsitemanimation.html#xTranslationAt">xTranslationAt</a></b> ( qreal <i>step</i> ) const</li>
<li><div class="fn"/>qreal <b><a href="qgraphicsitemanimation.html#yTranslationAt">yTranslationAt</a></b> ( qreal <i>step</i> ) const</li>
</ul>
<ul>
<li><div class="fn"/>29 public functions inherited from <a href="qobject.html#public-functions">QObject</a></li>
</ul>
<a name="public-slots"></a>
<h3>Public Slots</h3>
<ul>
<li><div class="fn"/>void <b><a href="qgraphicsitemanimation.html#reset">reset</a></b> ()</li>
<li><div class="fn"/>void <b><a href="qgraphicsitemanimation.html#setStep">setStep</a></b> ( qreal <i>step</i> )</li>
</ul>
<ul>
<li><div class="fn"/>1 public slot inherited from <a href="qobject.html#public-slots">QObject</a></li>
</ul>
<a name="protected-functions"></a>
<h3>Protected Functions</h3>
<ul>
<li><div class="fn"/>virtual void <b><a href="qgraphicsitemanimation.html#afterAnimationStep">afterAnimationStep</a></b> ( qreal <i>step</i> )</li>
<li><div class="fn"/>virtual void <b><a href="qgraphicsitemanimation.html#beforeAnimationStep">beforeAnimationStep</a></b> ( qreal <i>step</i> )</li>
</ul>
<ul>
<li><div class="fn"/>7 protected functions inherited from <a href="qobject.html#protected-functions">QObject</a></li>
</ul>
<h3>Additional Inherited Members</h3>
<ul>
<li><div class="fn"/>1 property inherited from <a href="qobject.html#properties">QObject</a></li>
<li><div class="fn"/>1 signal inherited from <a href="qobject.html#signals">QObject</a></li>
<li><div class="fn"/>5 static public members inherited from <a href="qobject.html#static-public-members">QObject</a></li>
</ul>
<a name="details"></a>
<hr />
<h2>Detailed Description</h2>
<p>The QGraphicsItemAnimation class provides simple animation support for <a href="qgraphicsitem.html">QGraphicsItem</a>.</p>
<p>The QGraphicsItemAnimation class animates a <a href="qgraphicsitem.html">QGraphicsItem</a>. You can schedule changes to the item's transformation matrix at specified steps. The QGraphicsItemAnimation class has a current step value. When this value changes the transformations scheduled at that step are performed. The current step of the animation is set with the <tt>setStep()</tt> function.</p>
<p>QGraphicsItemAnimation will do a simple linear interpolation between the nearest adjacent scheduled changes to calculate the matrix. For instance, if you set the position of an item at values 0.0 and 1.0, the animation will show the item moving in a straight line between these positions. The same is true for scaling and rotation.</p>
<p>It is usual to use the class with a <a href="qtimeline.html">QTimeLine</a>. The timeline's <a href="qtimeline.html#valueChanged">valueChanged()</a> signal is then connected to the <tt>setStep()</tt> slot. For example, you can set up an item for rotation by calling <tt>setRotationAt()</tt> for different step values. The animations timeline is set with the <a href="qgraphicsitemanimation.html#setTimeLine">setTimeLine</a>() function.</p>
<p>An example animation with a timeline follows:</p>
<pre>     QGraphicsItem *ball = new QGraphicsEllipseItem(0, 0, 20, 20);

     QTimeLine *timer = new QTimeLine(5000);
     timer-&gt;setFrameRange(0, 100);

     QGraphicsItemAnimation *animation = new QGraphicsItemAnimation;
     animation-&gt;setItem(ball);
     animation-&gt;setTimeLine(timer);

     for (int i = 0; i &lt; 200; ++i)
         animation-&gt;setPosAt(i / 200.0, QPointF(i, i));

     QGraphicsScene *scene = new QGraphicsScene();
     scene-&gt;setSceneRect(0, 0, 250, 250);
     scene-&gt;addItem(ball);

     QGraphicsView *view = new QGraphicsView(scene);
     view-&gt;show();

     timer-&gt;start();</pre>
<p>Note that steps lie between 0.0 and 1.0&#x2e; It may be necessary to use <a href="qtimeline.html#updateInterval-prop">setUpdateInterval()</a>. The default update interval is 40 ms. A scheduled transformation cannot be removed when set, so scheduling several transformations of the same kind (e.g&#x2e;, rotations) at the same step is not recommended.</p>
<p>See also <a href="qtimeline.html">QTimeLine</a> and <a href="graphicsview.html">The Graphics View Framework</a>.</p>
<hr />
<h2>Member Function Documentation</h2>
<h3 class="fn"><a name="QGraphicsItemAnimation"></a>QGraphicsItemAnimation::QGraphicsItemAnimation ( <a href="qobject.html">QObject</a> * <i>parent</i> = 0 )</h3>
<p>Constructs an animation object with the given <i>parent</i>.</p>
<h3 class="fn"><a name="dtor.QGraphicsItemAnimation"></a>QGraphicsItemAnimation::~QGraphicsItemAnimation ()&nbsp;&nbsp;<tt> [virtual]</tt></h3>
<p>Destroys the animation object.</p>
<h3 class="fn"><a name="afterAnimationStep"></a>void QGraphicsItemAnimation::afterAnimationStep ( <a href="qtglobal.html#qreal-typedef">qreal</a> <i>step</i> )&nbsp;&nbsp;<tt> [virtual protected]</tt></h3>
<p>This method is meant to be overridden in subclasses that need to execute additional code after a new step has taken place. The animation <i>step</i> is provided for use in cases where the action depends on its value.</p>
<h3 class="fn"><a name="beforeAnimationStep"></a>void QGraphicsItemAnimation::beforeAnimationStep ( <a href="qtglobal.html#qreal-typedef">qreal</a> <i>step</i> )&nbsp;&nbsp;<tt> [virtual protected]</tt></h3>
<p>This method is meant to be overridden by subclassed that needs to execute additional code before a new step takes place. The animation <i>step</i> is provided for use in cases where the action depends on its value.</p>
<h3 class="fn"><a name="clear"></a>void QGraphicsItemAnimation::clear ()</h3>
<p>Clears the scheduled transformations used for the animation, but retains the item and timeline.</p>
<h3 class="fn"><a name="horizontalScaleAt"></a><a href="qtglobal.html#qreal-typedef">qreal</a> QGraphicsItemAnimation::horizontalScaleAt ( <a href="qtglobal.html#qreal-typedef">qreal</a> <i>step</i> ) const</h3>
<p>Returns the horizontal scale for the item at the specified <i>step</i> value.</p>
<p>See also <a href="qgraphicsitemanimation.html#setScaleAt">setScaleAt</a>().</p>
<h3 class="fn"><a name="horizontalShearAt"></a><a href="qtglobal.html#qreal-typedef">qreal</a> QGraphicsItemAnimation::horizontalShearAt ( <a href="qtglobal.html#qreal-typedef">qreal</a> <i>step</i> ) const</h3>
<p>Returns the horizontal shear for the item at the specified <i>step</i> value.</p>
<p>See also <a href="qgraphicsitemanimation.html#setShearAt">setShearAt</a>().</p>
<h3 class="fn"><a name="item"></a><a href="qgraphicsitem.html">QGraphicsItem</a> * QGraphicsItemAnimation::item () const</h3>
<p>Returns the item on which the animation object operates.</p>
<p>See also <a href="qgraphicsitemanimation.html#setItem">setItem</a>().</p>
<h3 class="fn"><a name="matrixAt"></a><a href="qmatrix.html">QMatrix</a> QGraphicsItemAnimation::matrixAt ( <a href="qtglobal.html#qreal-typedef">qreal</a> <i>step</i> ) const</h3>
<p>Returns the matrix used to transform the item at the specified <i>step</i> value.</p>
<h3 class="fn"><a name="posAt"></a><a href="qpointf.html">QPointF</a> QGraphicsItemAnimation::posAt ( <a href="qtglobal.html#qreal-typedef">qreal</a> <i>step</i> ) const</h3>
<p>Returns the position of the item at the given <i>step</i> value.</p>
<p>See also <a href="qgraphicsitemanimation.html#setPosAt">setPosAt</a>().</p>
<h3 class="fn"><a name="posList"></a><a href="qlist.html">QList</a>&lt;<a href="qpair.html">QPair</a>&lt;<a href="qtglobal.html#qreal-typedef">qreal</a>, <a href="qpointf.html">QPointF</a>&gt; &gt; QGraphicsItemAnimation::posList () const</h3>
<p>Returns all explicitly inserted positions.</p>
<p>See also <a href="qgraphicsitemanimation.html#posAt">posAt</a>() and <a href="qgraphicsitemanimation.html#setPosAt">setPosAt</a>().</p>
<h3 class="fn"><a name="reset"></a>void QGraphicsItemAnimation::reset ()&nbsp;&nbsp;<tt> [slot]</tt></h3>
<p>Resets the item to its starting position and transformation.</p>
<h3 class="fn"><a name="rotationAt"></a><a href="qtglobal.html#qreal-typedef">qreal</a> QGraphicsItemAnimation::rotationAt ( <a href="qtglobal.html#qreal-typedef">qreal</a> <i>step</i> ) const</h3>
<p>Returns the angle at which the item is rotated at the specified <i>step</i> value.</p>
<p>See also <a href="qgraphicsitemanimation.html#setRotationAt">setRotationAt</a>().</p>
<h3 class="fn"><a name="rotationList"></a><a href="qlist.html">QList</a>&lt;<a href="qpair.html">QPair</a>&lt;<a href="qtglobal.html#qreal-typedef">qreal</a>, <a href="qtglobal.html#qreal-typedef">qreal</a>&gt; &gt; QGraphicsItemAnimation::rotationList () const</h3>
<p>Returns all explicitly inserted rotations.</p>
<p>See also <a href="qgraphicsitemanimation.html#rotationAt">rotationAt</a>() and <a href="qgraphicsitemanimation.html#setRotationAt">setRotationAt</a>().</p>
<h3 class="fn"><a name="scaleList"></a><a href="qlist.html">QList</a>&lt;<a href="qpair.html">QPair</a>&lt;<a href="qtglobal.html#qreal-typedef">qreal</a>, <a href="qpointf.html">QPointF</a>&gt; &gt; QGraphicsItemAnimation::scaleList () const</h3>
<p>Returns all explicitly inserted scales.</p>
<p>See also <a href="qgraphicsitemanimation.html#verticalScaleAt">verticalScaleAt</a>(), <a href="qgraphicsitemanimation.html#horizontalScaleAt">horizontalScaleAt</a>(), and <a href="qgraphicsitemanimation.html#setScaleAt">setScaleAt</a>().</p>
<h3 class="fn"><a name="setItem"></a>void QGraphicsItemAnimation::setItem ( <a href="qgraphicsitem.html">QGraphicsItem</a> * <i>item</i> )</h3>
<p>Sets the specified <i>item</i> to be used in the animation.</p>
<p>See also <a href="qgraphicsitemanimation.html#item">item</a>().</p>
<h3 class="fn"><a name="setPosAt"></a>void QGraphicsItemAnimation::setPosAt ( <a href="qtglobal.html#qreal-typedef">qreal</a> <i>step</i>, const <a href="qpointf.html">QPointF</a> &amp; <i>point</i> )</h3>
<p>Sets the position of the item at the given <i>step</i> value to the <i>point</i> specified.</p>
<p>See also <a href="qgraphicsitemanimation.html#posAt">posAt</a>().</p>
<h3 class="fn"><a name="setRotationAt"></a>void QGraphicsItemAnimation::setRotationAt ( <a href="qtglobal.html#qreal-typedef">qreal</a> <i>step</i>, <a href="qtglobal.html#qreal-typedef">qreal</a> <i>angle</i> )</h3>
<p>Sets the rotation of the item at the given <i>step</i> value to the <i>angle</i> specified.</p>
<p>See also <a href="qgraphicsitemanimation.html#rotationAt">rotationAt</a>().</p>
<h3 class="fn"><a name="setScaleAt"></a>void QGraphicsItemAnimation::setScaleAt ( <a href="qtglobal.html#qreal-typedef">qreal</a> <i>step</i>, <a href="qtglobal.html#qreal-typedef">qreal</a> <i>sx</i>, <a href="qtglobal.html#qreal-typedef">qreal</a> <i>sy</i> )</h3>
<p>Sets the scale of the item at the given <i>step</i> value using the horizontal and vertical scale factors specified by <i>sx</i> and <i>sy</i>.</p>
<p>See also <a href="qgraphicsitemanimation.html#verticalScaleAt">verticalScaleAt</a>() and <a href="qgraphicsitemanimation.html#horizontalScaleAt">horizontalScaleAt</a>().</p>
<h3 class="fn"><a name="setShearAt"></a>void QGraphicsItemAnimation::setShearAt ( <a href="qtglobal.html#qreal-typedef">qreal</a> <i>step</i>, <a href="qtglobal.html#qreal-typedef">qreal</a> <i>sh</i>, <a href="qtglobal.html#qreal-typedef">qreal</a> <i>sv</i> )</h3>
<p>Sets the shear of the item at the given <i>step</i> value using the horizontal and vertical shear factors specified by <i>sh</i> and <i>sv</i>.</p>
<p>See also <a href="qgraphicsitemanimation.html#verticalShearAt">verticalShearAt</a>() and <a href="qgraphicsitemanimation.html#horizontalShearAt">horizontalShearAt</a>().</p>
<h3 class="fn"><a name="setStep"></a>void QGraphicsItemAnimation::setStep ( <a href="qtglobal.html#qreal-typedef">qreal</a> <i>step</i> )&nbsp;&nbsp;<tt> [slot]</tt></h3>
<p>Sets the current <i>step</i> value for the animation, causing the transformations scheduled at this step to be performed.</p>
<h3 class="fn"><a name="setTimeLine"></a>void QGraphicsItemAnimation::setTimeLine ( <a href="qtimeline.html">QTimeLine</a> * <i>timeLine</i> )</h3>
<p>Sets the timeline object used to control the rate of animation to the <i>timeLine</i> specified.</p>
<p>See also <a href="qgraphicsitemanimation.html#timeLine">timeLine</a>().</p>
<h3 class="fn"><a name="setTranslationAt"></a>void QGraphicsItemAnimation::setTranslationAt ( <a href="qtglobal.html#qreal-typedef">qreal</a> <i>step</i>, <a href="qtglobal.html#qreal-typedef">qreal</a> <i>dx</i>, <a href="qtglobal.html#qreal-typedef">qreal</a> <i>dy</i> )</h3>
<p>Sets the translation of the item at the given <i>step</i> value using the horizontal and vertical coordinates specified by <i>dx</i> and <i>dy</i>.</p>
<p>See also <a href="qgraphicsitemanimation.html#xTranslationAt">xTranslationAt</a>() and <a href="qgraphicsitemanimation.html#yTranslationAt">yTranslationAt</a>().</p>
<h3 class="fn"><a name="shearList"></a><a href="qlist.html">QList</a>&lt;<a href="qpair.html">QPair</a>&lt;<a href="qtglobal.html#qreal-typedef">qreal</a>, <a href="qpointf.html">QPointF</a>&gt; &gt; QGraphicsItemAnimation::shearList () const</h3>
<p>Returns all explicitly inserted shears.</p>
<p>See also <a href="qgraphicsitemanimation.html#verticalShearAt">verticalShearAt</a>(), <a href="qgraphicsitemanimation.html#horizontalShearAt">horizontalShearAt</a>(), and <a href="qgraphicsitemanimation.html#setShearAt">setShearAt</a>().</p>
<h3 class="fn"><a name="timeLine"></a><a href="qtimeline.html">QTimeLine</a> * QGraphicsItemAnimation::timeLine () const</h3>
<p>Returns the timeline object used to control the rate at which the animation occurs.</p>
<p>See also <a href="qgraphicsitemanimation.html#setTimeLine">setTimeLine</a>().</p>
<h3 class="fn"><a name="translationList"></a><a href="qlist.html">QList</a>&lt;<a href="qpair.html">QPair</a>&lt;<a href="qtglobal.html#qreal-typedef">qreal</a>, <a href="qpointf.html">QPointF</a>&gt; &gt; QGraphicsItemAnimation::translationList () const</h3>
<p>Returns all explicitly inserted translations.</p>
<p>See also <a href="qgraphicsitemanimation.html#xTranslationAt">xTranslationAt</a>(), <a href="qgraphicsitemanimation.html#yTranslationAt">yTranslationAt</a>(), and <a href="qgraphicsitemanimation.html#setTranslationAt">setTranslationAt</a>().</p>
<h3 class="fn"><a name="verticalScaleAt"></a><a href="qtglobal.html#qreal-typedef">qreal</a> QGraphicsItemAnimation::verticalScaleAt ( <a href="qtglobal.html#qreal-typedef">qreal</a> <i>step</i> ) const</h3>
<p>Returns the vertical scale for the item at the specified <i>step</i> value.</p>
<p>See also <a href="qgraphicsitemanimation.html#setScaleAt">setScaleAt</a>().</p>
<h3 class="fn"><a name="verticalShearAt"></a><a href="qtglobal.html#qreal-typedef">qreal</a> QGraphicsItemAnimation::verticalShearAt ( <a href="qtglobal.html#qreal-typedef">qreal</a> <i>step</i> ) const</h3>
<p>Returns the vertical shear for the item at the specified <i>step</i> value.</p>
<p>See also <a href="qgraphicsitemanimation.html#setShearAt">setShearAt</a>().</p>
<h3 class="fn"><a name="xTranslationAt"></a><a href="qtglobal.html#qreal-typedef">qreal</a> QGraphicsItemAnimation::xTranslationAt ( <a href="qtglobal.html#qreal-typedef">qreal</a> <i>step</i> ) const</h3>
<p>Returns the horizontal translation of the item at the specified <i>step</i> value.</p>
<p>See also <a href="qgraphicsitemanimation.html#setTranslationAt">setTranslationAt</a>().</p>
<h3 class="fn"><a name="yTranslationAt"></a><a href="qtglobal.html#qreal-typedef">qreal</a> QGraphicsItemAnimation::yTranslationAt ( <a href="qtglobal.html#qreal-typedef">qreal</a> <i>step</i> ) const</h3>
<p>Returns the vertical translation of the item at the specified <i>step</i> value.</p>
<p>See also <a href="qgraphicsitemanimation.html#setTranslationAt">setTranslationAt</a>().</p>
<p /><address><hr /><div align="center">
<table width="100%" cellspacing="0" border="0"><tr class="address">
<td width="30%">Copyright &copy; 2008 <a href="trolltech.html">Trolltech</a></td>
<td width="40%" align="center"><a href="trademarks.html">Trademarks</a></td>
<td width="30%" align="right"><div align="right">Qt 4.3.5</div></td>
</tr></table></div></address></body>
</html>
